Total Complexity | 42 |
Dependencies | 8 |
Dependents | 1 |
Total lines | 294 |
Lines of code | 153 |
Logical lines of code | 75 |
Comment lines | 97 |
Methods | 16 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_widget_submit_data() | 57 | 6 | 15 | |
extract_shipping_method() | 60 | 6 | 13 | |
render_description() | 64 | 4 | 9 | |
render_widget() | 61 | 3 | 12 | |
get_method_instance_id() | 64 | 3 | 9 | |
get_nonce() | 66 | 3 | 9 | |
extract_widget_submit_data() | 63 | 2 | 12 | |
create_order() | 61 | 2 | 11 | |
defer_widget_scrip_tag() | 69 | 2 | 6 | |
bypass_widget_src_cleanup() | 72 | 2 | 6 | |
get_delivery_method_config() | 63 | 2 | 10 | |
get_locale() | 67 | 2 | 7 | |
extract_shipping_method_id() | 67 | 2 | 8 | |
add_script_to_checkout_block() | 63 | 1 | 11 | |
init() | 70 | 1 | 7 | |
register_scripts() | 67 | 1 | 8 |